﻿//-----------------------------------------------------------------------
// <copyright>
// This file is subject to the terms and conditions of the Microsoft Public License (MS-PL).
// See http://www.microsoft.com/opensource/licenses.mspx#Ms-PL for more details.
// </copyright>
//----------------------------------------------------------------------- 
using System;
using System.Reflection;

namespace Fulcrum.DispatcherProxies
{
    public class DispatcherProxyEventInfo
    {
        EventInfo eventInfo;

        public DispatcherProxyEventInfo(EventInfo eventInfo)
        {
            this.eventInfo = eventInfo;
        }

        public Type HandlerType
        {
            get
            {
                return this.eventInfo.EventHandlerType;
            }
        }

        public string Name
        {
            get
            {
                return this.eventInfo.Name;
            }
        }
    }
}
